package cn.yunlang.zhangZhongFei.exception;

import lombok.Getter;


@Getter
public enum ErrorCodeExceptionEnum {
    SYSTEM_ERROR(500001, "系统异常"),

    PARAM_ERROR(500004, "参数异常"),

    PAY_TYPE_ERROR(500007, "支付类型错误"),

    REQUEST_METHOD_ERROR(500016, "请求方式错误"),
    ;


    /**
     * 异常码
     */
    final Integer code;
    /**
     * 异常信息
     */
    final String msg;

    ErrorCodeExceptionEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
